package com.ddone.demo.bean;

import lombok.Data;

/**
 * @author ddone
 * @date 2024/3/18-18:28
 */
@Data
public class Course {

    /**
     * 课程主键
     */
    private Integer id;

    /**
     * 课程名称
     */

    private String name;
}

/*
drop table if exists course;
create table if not exists course(
  id int not null auto_increment comment '课程ID',
  name varchar(20) default null comment '课程名称',
  primary key(id)
);
insert into course(name) values ('数学'),('语文');

 */
